﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;
using Castle.ActiveRecord.Queries;

namespace MxTol.Models
{
    /// <summary>
    /// 意见反馈实体类
    /// </summary>
    [ActiveRecord(Table = "FeedBack")]
    public class FeedBack : ActiveRecordBase
    {
        /// <summary>
        /// 管理员信息主键
        /// </summary>
        [PrimaryKey("id")]
        public Guid ID { get; set; }

        /// <summary>
        /// 意见
        /// </summary>
        [Property("advice")]
        public string Advice { get; set; }

        /// <summary>
        /// 联系方式
        /// </summary>
        [Property("contact")]
        public string Contact { get; set; }

        /// <summary>
        /// 该条记录添加时间
        /// </summary>
        [Property("add_time")]
        public DateTime AddTime { get; set; }
    }
}
